package inet.db.tennis;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class TennisGame {
	public static int TYPE_GAME = 0;
	public static int TYPE_TIE_BREAK = 1;
	
	private BigDecimal id;
	private BigDecimal matchId;
	private BigDecimal setId;
	private int score1;
	private int score2;
	private int serve;
	private int type;
	private Timestamp genDate;
	private Timestamp lastUpdated;
	public BigDecimal getId() {
		return id;
	}
	public void setId(BigDecimal id) {
		this.id = id;
	}
	public BigDecimal getMatchId() {
		return matchId;
	}
	public void setMatchId(BigDecimal matchId) {
		this.matchId = matchId;
	}
	public BigDecimal getSetId() {
		return setId;
	}
	public void setSetId(BigDecimal setId) {
		this.setId = setId;
	}
	public int getScore1() {
		return score1;
	}
	public void setScore1(int score1) {
		this.score1 = score1;
	}
	public int getScore2() {
		return score2;
	}
	public void setScore2(int score2) {
		this.score2 = score2;
	}
	public int getServe() {
		return serve;
	}
	public void setServe(int serve) {
		this.serve = serve;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Timestamp getGenDate() {
		return genDate;
	}
	public void setGenDate(Timestamp genDate) {
		this.genDate = genDate;
	}
	public Timestamp getLastUpdated() {
		return lastUpdated;
	}
	public void setLastUpdated(Timestamp lastUpdated) {
		this.lastUpdated = lastUpdated;
	}
}
